/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: #0a0a15;
    color: #e0e0ff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 动态网格背景 */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(10, 10, 21, 0.9), rgba(10, 10, 21, 0.9)),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.05) 2px, rgba(0, 255, 255, 0.05) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 255, 255, 0.05) 2px, rgba(0, 255, 255, 0.05) 4px);
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

/* 容器样式 */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 头部样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.8rem;
    color: #00f3ff;
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.7);
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% {
        text-shadow: 0 0 10px rgba(0, 243, 255, 0.7);
    }
    100% {
        text-shadow: 0 0 25px rgba(0, 243, 255, 1), 0 0 40px rgba(0, 243, 255, 0.5);
    }
}

.logo-text h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: #fff;
}

.logo-text h1 span {
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.7);
}

.logo-subtitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #8a8aff;
    margin-top: 5px;
}

.stats-container {
    display: flex;
    gap: 35px;
}

.stat {
    text-align: center;
    position: relative;
}

.stat::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f3ff, transparent);
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: #8a8aff;
    letter-spacing: 1px;
}

.user-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 20, 40, 0.6);
    border: 1px solid rgba(0, 150, 255, 0.3);
    border-radius: 10px;
    padding: 12px 20px;
    box-shadow: 0 0 15px rgba(0, 100, 255, 0.1);
}

.user-avatar {
    font-size: 1.8rem;
    color: #00f3ff;
}

.user-name {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00ff00;
    box-shadow: 0 0 8px #00ff00;
}

.status-text {
    font-size: 0.85rem;
    color: #8a8aff;
}

/* 主要内容区域 */
.main-content {
    margin-bottom: 50px;
}

.section-title {
    margin-bottom: 40px;
    text-align: center;
}

.section-title h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.title-highlight {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
    position: relative;
}

.title-highlight::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff00ff, #00f3ff, transparent);
}

.section-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    color: #8a8aff;
}

/* 直播卡片容器 */
.streams-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stream-card {
    background: linear-gradient(145deg, rgba(15, 25, 40, 0.9), rgba(5, 10, 20, 0.9));
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 150, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.stream-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 243, 255, 0.6);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 243, 255, 0.3);
}

.stream-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff00ff, #00f3ff);
    opacity: 0.7;
}

.stream-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.stream-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stream-card:hover .stream-thumbnail img {
    transform: scale(1.05);
}

.live-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.live-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.viewer-count {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stream-info {
    padding: 20px;
}

.stream-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.4;
}

.streamer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.streamer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 150, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.streamer-name {
    font-weight: 700;
    color: #8a8aff;
}

.stream-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background: rgba(0, 100, 255, 0.2);
    color: #8a8aff;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 100, 255, 0.3);
}

/* 权限提示弹窗 */
.permission-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 5, 15, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.permission-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(145deg, rgba(15, 25, 40, 0.95), rgba(5, 10, 20, 0.95));
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff00ff, #00f3ff);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 150, 255, 0.2);
}

.modal-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #ff5555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: transparent;
    border: none;
    color: #8a8aff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close:hover {
    color: #ff5555;
}

.modal-body {
    padding: 30px 20px;
    text-align: center;
}

.modal-icon {
    font-size: 4rem;
    color: #ff5555;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 85, 85, 0.5);
}

.modal-body h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #8a8aff;
}

.access-level {
    color: #ffaa00;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.5);
}

.permission-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(0, 30, 60, 0.5);
    border: 1px solid rgba(0, 150, 255, 0.2);
    transition: all 0.3s;
    cursor: pointer;
    min-width: 100px;
}

.option:hover {
    background: rgba(0, 50, 100, 0.7);
    border-color: rgba(0, 243, 255, 0.5);
    transform: translateY(-5px);
}

.option i {
    font-size: 1.8rem;
    color: #00f3ff;
}

.option span {
    font-size: 0.9rem;
    font-weight: 700;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 150, 255, 0.2);
    text-align: center;
}

.btn-secondary {
    background: linear-gradient(90deg, #ff00ff, #00f3ff);
    border: none;
    color: #000;
    padding: 12px 40px;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 243, 255, 0.5);
}

/* 底部样式 */
.footer {
    background: rgba(5, 10, 20, 0.9);
    border-top: 1px solid rgba(0, 150, 255, 0.2);
    padding: 30px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #00f3ff;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #00f3ff;
}

.status-item, .info-item, .quick-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #8a8aff;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.online {
    background-color: #00ff00;
    box-shadow: 0 0 8px #00ff00;
}

.status-dot.offline {
    background-color: #ff5555;
    box-shadow: 0 0 8px #ff5555;
}

.info-value {
    color: #00f3ff;
    font-weight: 700;
}

.quick-links a {
    text-decoration: none;
    color: #8a8aff;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: #00f3ff;
}

.quick-links a i {
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 150, 255, 0.1);
    color: #666;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* 响应式设计 */

/* 大屏幕适配 (1400px以上) */
@media (min-width: 1400px) {
    .container {
        max-width: 1800px;
        padding: 0 30px;
    }
    
    .header {
        padding: 35px 0;
        margin-bottom: 50px;
    }
    
    .logo-icon {
        font-size: 3.5rem;
    }
    
    .logo-text h1 {
        font-size: 2.8rem;
        letter-spacing: 3px;
    }
    
    .logo-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }
    
    .stats-container {
        gap: 50px;
    }
    
    .stat::before {
        width: 50px;
        height: 3px;
    }
    
    .stat-value {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .user-container {
        padding: 15px 25px;
        gap: 20px;
    }
    
    .user-avatar {
        font-size: 2.2rem;
    }
    
    .user-name {
        font-size: 1.3rem;
    }
    
    .user-status {
        margin-top: 8px;
    }
    
    .status-text {
        font-size: 1rem;
    }
    
    .main-content {
        margin-bottom: 70px;
    }
    
    .section-title {
        margin-bottom: 50px;
    }
    
    .section-title h2 {
        font-size: 3.2rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }
    
    .streams-container {
        grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .stream-thumbnail {
        height: 220px;
    }
    
    .stream-info {
        padding: 25px;
    }
    
    .stream-title {
        font-size: 1.5rem;
    }
    
    .streamer-avatar {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    
    .streamer-name {
        font-size: 1.1rem;
    }
    
    .stream-tags {
        margin-top: 20px;
        gap: 10px;
    }
    
    .tag {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .modal-content {
        max-width: 600px;
    }
    
    .modal-header h3 {
        font-size: 1.8rem;
    }
    
    .modal-body {
        padding: 40px 30px;
    }
    
    .modal-icon {
        font-size: 5rem;
    }
    
    .modal-body h4 {
        font-size: 2.2rem;
    }
    
    .modal-body p {
        font-size: 1.1rem;
    }
    
    .option {
        padding: 20px;
        min-width: 120px;
    }
    
    .option i {
        font-size: 2.2rem;
    }
    
    .option span {
        font-size: 1rem;
    }
    
    .btn-secondary {
        padding: 15px 50px;
        font-size: 1.2rem;
    }
    
    .footer {
        padding: 40px 0 25px;
        margin-top: 50px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .footer-section h4 {
        font-size: 1.4rem;
    }
}

/* 中等屏幕适配 (1200px - 1400px) */
@media (max-width: 1400px) and (min-width: 1201px) {
    .container {
        max-width: 1600px;
    }
    
    .logo-text h1 {
        font-size: 2.5rem;
    }
    
    .streams-container {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 35px;
    }
    
    .stream-thumbnail {
        height: 200px;
    }
}

/* 平板横屏适配 (992px - 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        margin-bottom: 30px;
    }
    
    .logo-container {
        gap: 12px;
    }
    
    .logo-icon {
        font-size: 2.4rem;
    }
    
    .logo-text h1 {
        font-size: 2rem;
    }
    
    .stats-container {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 30px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .user-container {
        padding: 10px 18px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .streams-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .stream-thumbnail {
        height: 170px;
    }
    
    .stream-info {
        padding: 18px;
    }
    
    .stream-title {
        font-size: 1.2rem;
    }
    
    .modal-content {
        max-width: 480px;
    }
    
    .footer-content {
        gap: 25px;
    }
}

/* 平板竖屏适配 (768px - 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 12px;
    }
    
    .header {
        padding: 18px 0;
        margin-bottom: 25px;
    }
    
    .logo-icon {
        font-size: 2.2rem;
    }
    
    .logo-text h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .logo-subtitle {
        font-size: 0.75rem;
    }
    
    .stats-container {
        gap: 25px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .user-container {
        padding: 10px 15px;
        gap: 12px;
    }
    
    .user-avatar {
        font-size: 1.6rem;
    }
    
    .user-name {
        font-size: 1rem;
    }
    
    .main-content {
        margin-bottom: 40px;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .streams-container {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .stream-thumbnail {
        height: 150px;
    }
    
    .live-badge {
        padding: 4px 10px;
        font-size: 0.75rem;
        top: 10px;
        right: 10px;
    }
    
    .viewer-count {
        padding: 4px 8px;
        font-size: 0.8rem;
        bottom: 10px;
        left: 10px;
    }
    
    .stream-info {
        padding: 15px;
    }
    
    .stream-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .streamer-avatar {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .stream-tags {
        margin-top: 12px;
        gap: 6px;
    }
    
    .tag {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .modal-content {
        max-width: 450px;
    }
    
    .modal-header {
        padding: 18px;
    }
    
    .modal-header h3 {
        font-size: 1.4rem;
    }
    
    .modal-close {
        font-size: 1.8rem;
    }
    
    .modal-body {
        padding: 25px 18px;
    }
    
    .modal-icon {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }
    
    .modal-body h4 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .permission-options {
        gap: 15px;
        margin-top: 25px;
    }
    
    .option {
        padding: 12px;
        min-width: 90px;
    }
    
    .option i {
        font-size: 1.6rem;
    }
    
    .option span {
        font-size: 0.85rem;
    }
    
    .btn-secondary {
        padding: 10px 35px;
        font-size: 1rem;
    }
    
    .footer {
        padding: 25px 0 18px;
        margin-top: 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
        margin-bottom: 25px;
    }
}

/* 手机横屏适配 (600px - 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .header {
        padding: 15px 0;
        margin-bottom: 20px;
        gap: 15px;
    }
    
    .logo-container {
        gap: 10px;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .logo-text h1 {
        font-size: 1.6rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
    
    .stats-container {
        gap: 20px;
    }
    
    .stat::before {
        width: 30px;
    }
    
    .stat-value {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .user-container {
        padding: 8px 12px;
        gap: 10px;
        border-radius: 8px;
    }
    
    .user-avatar {
        font-size: 1.4rem;
    }
    
    .user-name {
        font-size: 0.95rem;
    }
    
    .status-indicator {
        width: 6px;
        height: 6px;
    }
    
    .status-text {
        font-size: 0.8rem;
    }
    
    .main-content {
        margin-bottom: 30px;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .section-title h2 {
        font-size: 1.7rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
    
    .streams-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .stream-card {
        border-radius: 12px;
    }
    
    .stream-thumbnail {
        height: 140px;
    }
    
    .live-badge {
        padding: 4px 8px;
        font-size: 0.7rem;
        top: 8px;
        right: 8px;
    }
    
    .live-badge::before {
        width: 6px;
        height: 6px;
    }
    
    .viewer-count {
        padding: 4px 8px;
        font-size: 0.75rem;
        bottom: 8px;
        left: 8px;
    }
    
    .stream-info {
        padding: 12px;
    }
    
    .stream-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .streamer-info {
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .streamer-avatar {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .streamer-name {
        font-size: 0.9rem;
    }
    
    .stream-tags {
        margin-top: 10px;
        gap: 5px;
    }
    
    .tag {
        padding: 3px 8px;
        font-size: 0.7rem;
        border-radius: 12px;
    }
    
    .modal-content {
        width: 95%;
        max-width: 420px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-close {
        font-size: 1.6rem;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .modal-icon {
        font-size: 3rem;
        margin-bottom: 12px;
    }
    
    .modal-body h4 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    
    .modal-body p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .permission-options {
        gap: 12px;
        margin-top: 20px;
    }
    
    .option {
        padding: 10px;
        min-width: 80px;
    }
    
    .option i {
        font-size: 1.4rem;
    }
    
    .option span {
        font-size: 0.8rem;
    }
    
    .modal-footer {
        padding: 15px;
    }
    
    .btn-secondary {
        padding: 10px 30px;
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 20px 0 15px;
        margin-top: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
}

/* 手机竖屏适配 (480px - 600px) */
@media (max-width: 600px) {
    .container {
        padding: 0 8px;
    }
    
    .header {
        padding: 12px 0;
        margin-bottom: 15px;
        gap: 12px;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
    
    .logo-text h1 {
        font-size: 1.4rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
        margin-top: 3px;
    }
    
    .stats-container {
        gap: 15px;
    }
    
    .stat::before {
        width: 25px;
        height: 1px;
        top: -8px;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .user-container {
        padding: 8px 12px;
        gap: 8px;
        border-radius: 6px;
    }
    
    .user-avatar {
        font-size: 1.2rem;
    }
    
    .user-name {
        font-size: 0.9rem;
    }
    
    .user-status {
        margin-top: 3px;
        gap: 5px;
    }
    
    .status-indicator {
        width: 6px;
        height: 6px;
    }
    
    .status-text {
        font-size: 0.75rem;
    }
    
    .main-content {
        margin-bottom: 25px;
    }
    
    .section-title {
        margin-bottom: 20px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .title-highlight::after {
        height: 2px;
        bottom: -3px;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .streams-container {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .stream-card {
        border-radius: 10px;
    }
    
    .stream-thumbnail {
        height: 180px;
    }
    
    .stream-info {
        padding: 15px;
    }
    
    .stream-title {
        font-size: 1.1rem;
    }
    
    .streamer-avatar {
        width: 36px;
        height: 36px;
    }
    
    .modal-content {
        width: 95%;
        max-width: 380px;
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
        gap: 8px;
    }
    
    .modal-close {
        font-size: 1.4rem;
    }
    
    .modal-body {
        padding: 18px 15px;
    }
    
    .modal-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .modal-body h4 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .modal-body p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .access-level {
        font-size: 0.9rem;
    }
    
    .permission-options {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 18px;
    }
    
    .option {
        width: 100%;
        max-width: 200px;
        padding: 12px;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .option i {
        font-size: 1.3rem;
    }
    
    .modal-footer {
        padding: 12px 15px;
    }
    
    .btn-secondary {
        padding: 10px 25px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .footer {
        padding: 18px 0 12px;
        margin-top: 20px;
    }
    
    .footer-content {
        gap: 18px;
        margin-bottom: 18px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .footer-section h4::after {
        width: 30px;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 0.8rem;
    }
}

/* 小屏手机适配 (480px以下) */
@media (max-width: 480px) {
    .container {
        padding: 0 6px;
    }
    
    .header {
        padding: 10px 0;
        margin-bottom: 12px;
        gap: 10px;
    }
    
    .logo-container {
        gap: 8px;
    }
    
    .logo-icon {
        font-size: 1.6rem;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 1px;
        margin-top: 2px;
    }
    
    .stats-container {
        gap: 12px;
    }
    
    .stat::before {
        width: 20px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .user-container {
        padding: 6px 10px;
        gap: 6px;
        border-radius: 5px;
    }
    
    .user-avatar {
        font-size: 1.1rem;
    }
    
    .user-name {
        font-size: 0.85rem;
    }
    
    .status-text {
        font-size: 0.7rem;
    }
    
    .main-content {
        margin-bottom: 20px;
    }
    
    .section-title {
        margin-bottom: 15px;
    }
    
    .section-title h2 {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
    }
    
    .streams-container {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .stream-card {
        border-radius: 8px;
    }
    
    .stream-thumbnail {
        height: 160px;
    }
    
    .live-badge {
        padding: 3px 8px;
        font-size: 0.65rem;
        top: 6px;
        right: 6px;
    }
    
    .live-badge::before {
        width: 5px;
        height: 5px;
    }
    
    .viewer-count {
        padding: 3px 6px;
        font-size: 0.7rem;
        bottom: 6px;
        left: 6px;
    }
    
    .stream-info {
        padding: 12px;
    }
    
    .stream-title {
        font-size: 1rem;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    
    .streamer-info {
        gap: 6px;
        margin-bottom: 8px;
    }
    
    .streamer-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .streamer-name {
        font-size: 0.85rem;
    }
    
    .stream-tags {
        margin-top: 8px;
        gap: 4px;
    }
    
    .tag {
        padding: 3px 6px;
        font-size: 0.65rem;
        border-radius: 10px;
    }
    
    .modal-content {
        width: 96%;
        max-width: 340px;
        border-radius: 10px;
    }
    
    .modal-content::before {
        height: 3px;
    }
    
    .modal-header {
        padding: 10px 12px;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
        gap: 6px;
    }
    
    .modal-close {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 15px 12px;
    }
    
    .modal-icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .modal-body h4 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .modal-body p {
        font-size: 0.8rem;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    
    .access-level {
        font-size: 0.85rem;
    }
    
    .permission-options {
        gap: 8px;
        margin-top: 15px;
    }
    
    .option {
        padding: 10px;
        gap: 8px;
    }
    
    .option i {
        font-size: 1.2rem;
    }
    
    .option span {
        font-size: 0.8rem;
    }
    
    .modal-footer {
        padding: 10px 12px;
    }
    
    .btn-secondary {
        padding: 8px 20px;
        font-size: 0.85rem;
        border-radius: 20px;
    }
    
    .footer {
        padding: 15px 0 10px;
        margin-top: 15px;
    }
    
    .footer-content {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }
    
    .footer-section h4::after {
        width: 25px;
        height: 1px;
    }
    
    .status-item, .info-item, .quick-links a {
        font-size: 0.85rem;
        margin-bottom: 8px;
        gap: 8px;
    }
    
    .status-dot {
        width: 8px;
        height: 8px;
    }
    
    .footer-bottom {
        padding-top: 12px;
        font-size: 0.75rem;
    }
}